Skip to content

deps: bidi comes from go-typeset, not a transfer redirect - #5

Merged
tannevaled merged 1 commit into
mainfrom
deps/typeset-bidi
Aug 18, 2026
Merged

deps: bidi comes from go-typeset, not a transfer redirect#5
tannevaled merged 1 commit into
mainfrom
deps/typeset-bidi

Conversation

@tannevaled

Copy link
Copy Markdown
Contributor

The bidirectional algorithm moved to its own org, github.com/go-typeset/bidi — it imports nothing at all, so it never belonged under an org whose subject is the font format.

This module still resolved github.com/go-opentype/bidi, a path that only answers through a GitHub transfer redirect. A redirect does not unify module paths: two paths are two different types, so a graph mixing this module with an already-migrated one would carry two unrelated bidi.Direction types.

Raising the go-widgets / go-opentype dependencies to their current releases is what removes it — those modules have migrated. Only go.mod and go.sum change.

Verified before opening: go build ./..., go vet ./... and go test -count=1 ./... all clean, and grep go-opentype/bidi go.mod returns nothing. (font_test.go, text.go and units.go are unformatted on main already — left untouched rather than mixed into a dependency change.)

The bidirectional algorithm moved to its own org, github.com/go-typeset/bidi:
it imports nothing at all, so it never belonged under an org whose subject is
the font format. This module still resolved the old path, which only answers
through a GitHub transfer redirect — and a redirect does not unify module
paths, so a graph mixing the two carries two unrelated bidi.Direction types.

Raising the go-widgets/go-opentype dependencies to their current releases is
what removes it: those modules have migrated, and go.mod now names the real
path of every module it resolves rather than a redirected one.

Only go.mod and go.sum change. Build, vet and tests are unchanged.
@tannevaled
tannevaled merged commit 6fd50d1 into main Aug 18, 2026
1 check passed
@tannevaled
tannevaled deleted the deps/typeset-bidi branch August 18, 2026 18:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant